﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>

<script type="text/javascript">

</script>

<div id="webstoremrg">
    <div id="tbwebstore" style="padding-top: 5px;">
        <table border="0" width="100%" class="table_style" cellpadding="0" cellspacing="0">
            <tr>
                <th>
                    文件名
                </th>
                <th>
                    文件大小
                </th>
                <th>
                    文件数量
                </th>
                <th>
                    开始时间
                </th>
                <th>
                    结束时间
                </th>
                <th>
                    状态
                </th>
            </tr>
            <%
                System.Data.DataTable dt_deleg = ViewData["dt_deleg"] as System.Data.DataTable;
                if (dt_deleg != null && dt_deleg.Rows.Count != 0)
                {
                    for (int i = 0; i < dt_deleg.Rows.Count; i++)
                    {
            %>
            <tr>
                <td>
                    <%=dt_deleg.Rows[i]["委托人"]%>
                </td>
                <td>
                    <%=dt_deleg.Rows[i]["受托人"]%>
                </td>
                <td>
                    <%=dt_deleg.Rows[i]["发起人"]%>
                </td>
                <td>
                    <%=dt_deleg.Rows[i]["开始时间"]%>
                </td>
                <td>
                    <%=dt_deleg.Rows[i]["结束时间"]%>
                </td>
                <td>
                    <%=dt_deleg.Rows[i]["状态"].ToString() == "1" ? "有效" : "无效"%>
                </td>
            </tr>
            <%
                }
                }
                else
                { %>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                    当前无历史数据！
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <%} %>
        </table>
    </div>
</div>
